package com.example.demo.app.repository;

import com.example.demo.api.dto.StudentGradeDTO;
import com.example.demo.domain.entity.Grades;
import com.example.demo.domain.vo.StudentGradesSimpleVo;

import java.util.List;

public interface GradesRepository {
    List<StudentGradeDTO> queryGradesByCondition(Integer studentId, Integer teacherId, Integer courseId);

    Integer deleteByStudentIdInteger(List<Integer> ids);

    List<StudentGradesSimpleVo> queryStudentGradesSimple();

    Integer updateScore(Integer studentId, Integer courseId, Integer score);
}
